package eiisan.forkjointest;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class TreeNode {

    private int id;

    private int pid;

    private List<TreeNode> childNodes = new ArrayList<>();

    @Override
    public String toString() {
        return "TreeNode{" +
                "id=" + id +
                ", pid=" + pid +
                ", childNodes=" + childNodes +
                '}';
    }
}
